import com.dinmax.factorium.*

class FactoriumMecanica
extends MovieClip 
implements FactoriumContent {
	
	private var activeSection:String;

	private var mcContainer:MovieClip;
		
	public function onLoad():Void {
		FactoriumApp.getApp().setMecanicaContent(this);
		this.resetContent();
		return;
	};

	public function prevSlide():Void {
		this.mcContainer.prevSlide();
		return;
	};
	public function nextSlide():Void{
		this.mcContainer.nextSlide();
		return;
	};
	public function getSlide():Number{
		return;
	};
	public function setSlide(n:Number):Void{
		
		return;
	};
	
	public function showMenu():Void{
		this.gotoAndStop("menu");
		return;
	};

	public function showPersonajes():Void{
		this.gotoAndStop("personajes");
		return;
	};

	public function showCircuito():Void{
		this.gotoAndStop("circuito");
		return;
	};

	public function showContent():Void {
		this.resetContent();
		this.gotoAndPlay("showContent");
		return;
	};

	public function hideContent():Void {
		this.onEnterFrame=function():Void{
			if(this._currentframe == 1){
				delete this.onEnterFrame;
				FactoriumApp.getApp().unloadContent();
			} else {
				this.prevFrame();
			};
			return;
		};
		return;
	};

	private function setContent():Void {
		
		return;
	};
	private function resetContent():Void {
		//nSlide = 0;
		this.setContent();
	}
	
} // fin de clase